package com.example.xm.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class TieziVO {
    @TableId
    private Integer id;
    private String avatar;
    private String fname;
    private String title;
    private Boolean isDing =false;
    private Boolean isCai =false;
    private String furl;
    private String img;
    private String content;
    private Integer liulan;
    private Integer ding;
    private Integer cai;
    private Integer cid;
    private String cname;
    private String uname;
    private Integer uid;
    private Integer status;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;

}